<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>React</title>
    <script src="../build/react.js"></script>
    <script src="../build/react-dom.js"></script>
    <script src="../build/browser.min.js"></script>
  </head>
  <body>
    <div id="example"></div>
    <script type="text/babel">
      var names=['Alice', 'Emily', 'Kate'];

      ReactDOM.render(
        <div>
        {
          names.map(name=>{
            return <h1>Hello, {name}!</h1>
          })
        }
        </div>,
        document.getElementById('example')
      );
    </script>
  </body>
</html>
